package com.cloudm.technician.ui.modules.personal.change_nick_name

import com.cloudm.technician.ui.base.BasePresenter
import com.cloudm.technician.ui.base.BaseView

/**
 * 作者: wesley
 * 时间: 2017/12/26
 * 描述: 协议接口
 */
interface ChangeNickNameContract {

    interface View : BaseView {

        fun getNickName(): String?

        fun showNickNameEmpMsg()

        fun nickNameChangeFailure(errorMsg: String)

        fun nickNameChangeSuccess(name: String)

        fun showChangeNickNameDialog()

        fun hideChangeNickNameDialog()
    }

    interface Presenter : BasePresenter {


        fun changeNickName(name: String?)
    }
}